## #############################################
## REPLICATION ARCHIVE FOR                    ##
## "Dynamic Stochastic Blockmodel Regression  ##
##  for Network Data: Application to          ##
##  International Militarized Conflicts"      ##
##                                            ##
##  Dataverse Archive Version 6.0             ##
## #############################################

######################
## ARCHIVE CONTENTS ##
######################
|-Cache1/
  |-EffectSims.RData:
      Results of effect estimation simulation.
  |-SimScenarios.RData:
      Results of simulating three network scenarios,
      varying in complexity of learning problem.
  |-SynthNetResultsNC.RData:
      Results of estimating dynMMSBM without
      covariates for simulated networks.
|-Cache2/
  |-SynthNetResultsGibbs.RData:
      Results of estimating MMSBM separately on 
      each time period for simulated networks.
  |-SynthNets.RData:
      Results of simulating 100 synthetic
      networks according to dynMMSBM's DGP.
|-Cache3/
  |-MIDS_robustness.Rdata:
      Results of model estimations for the additional 
      empirical results found in the online 
      Supplementary Information.
  |-MIDs_seeds.Rdata:
      Results of reestimating models with different
      starting values, for LB selection.
|-Code/
  |-GenSimData.R:
      Generates a specified number of synthetic
      networks using the same node and dyad predictors,
      and return results of fitting dynMMSBM to each one.
      Time to run: <1s.
  |-MIDSreplication.R:
      Replicates all tables and figures related
      to MIDS application, both in the main text
      and in the Supplementary Information document.
      Time to run: ~3m (using cached results)
                   ~18h (uncommenting all code/no cache)
  |-NetSim2.R:
      Generates a simulated network according to the
      DGP of dynMMSBM. 
      Time to run: <1s.
  |-SimReplication.R:
      Replicates all tables and figures related
      to simulation exercise in the Supplementary
      Information document. 
      Time to run: <30s (using cached results)
                   ~32h (uncommenting all code/no cache)
|-Data/
  |-MIDdata.Rdata
      Contains objects 'MID_dyad' and 'MID_monad'.
      'MID_dyad' is a country pair-year dataset with data 
      on MIDs and other relevant predictors. See
      DATA SOURCES for more information.
      'MID_monad' is a country-year dataset with data on 
      POLITY scores and other relevant predictors. See
      DATA SOURCES for more information. 
|-README.txt
    This file.

##################
## DATA SOURCES ##
##################

- Militarized Conflict: Version 4.1 of the Militarized Interstate Dispute (MID) dataset.
  
  Glenn Palmer, Vito D'Orazio, Michael Kenwick and Matthew Lane. 2015. The MID4
  Data Set, 2002-2010. Conflict Management and Peace Science, 32(2), pp. 222-242. 

  Available at https://correlatesofwar.org/data-sets/MIDs

- Polity: Polity IV dataset.

  Marshall, M., Gurr, T. R., and Jaggers, K. (2017), "Polity IV Project, Political Regime
  Characteristics and Transitions, 1800-2016." Polity IV Project-Dataset Users' Manual.

  Available at http://www.systemicpeace.org/inscrdata.html

- Military Capacity: Version 4.0 of the National Military Capabilities Dataset.

  Singer, J. David, Stuart Bremer, and John Stuckey. (1972). "Capability Distribution,
  Uncertainty, and Major Power War, 1820-1965." in Bruce Russett (ed) Peace, War, 
  and Numbers, Beverly Hills: Sage, 19-48.

  Available at https://correlatesofwar.org/data-sets/national-material-capabilities

- Alliances: Version 4.1 of the Correlates of War Formal Alliances dataset.

  Gibler, Douglas M. 2009. International military alliances, 1648-2008. CQ Press.  

  Available at https://correlatesofwar.org/data-sets/formal-alliances

- Shared Borders: Version 3.2 of the Direct Contiguity Dataset.

  Stinnett, D. M., Tir, J., Diehl, P. F., Schafer, P., and Gochman, C. (2002),
  "The Correlates of War (COW) Project Direct Contiguity Data, version 3.0,"
  Conflict Management and Peace Science, 19, 59–67.

  Available at https://correlatesofwar.org/data-sets/direct-contiguity

- Geographic Distance: CEPII GeoDist Database.

  Mayer, Thierry, and Soledad Zignago. "Notes on CEPII's distances measures: The GeoDist
  database." (2011).

  Available at http://www.cepii.fr/cepii/en/bdd_modele/presentation.asp?id=6

- International Organization membership: Version 3.0 of the Intergovernmental
  Organizations dataset

  Pevehouse, Jon C.W., Timothy Nordstron, Roseanne W McManus, Anne Spencer Jamison,
  "Tracking Organizations in the World: The Correlates of War IGO Version 3.0 datasets",
  Journal of Peace Research.  

  Available at https://correlatesofwar.org/data-sets/IGOs
  
   

##################
## SYSTEM INFO  ##
##################

## R session information
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin20.2.0 (64-bit)
Running under: macOS  11.6

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

other attached packages:
 [1] MCMCpack_1.5-0  MASS_7.3-53     coda_0.19-4     forcats_0.5.1   stringr_1.4.0   dplyr_1.0.5     purrr_0.3.4    
 [8] readr_1.4.0     tidyr_1.1.3     tibble_3.1.0    ggplot2_3.3.3   tidyverse_1.3.0 NetMix_0.2.0   
